<?php

/**
 * JingYao-backend
 *
 * @link     https://gitee.com/wang-zhihui-release/jingyao-backend
 * @apiDocument https://gitee.com/wang-zhihui-release/jingyao-backend/wikis/
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class AdminUserAssessLog extends Model
{
    use HasFactory;
    use SoftDeletes;

    protected $guarded = [];

    public function adminUser()
    {
        return $this->belongsTo(AdminUser::class);
    }

    public function assessTemplate()
    {
        return $this->belongsTo(AssessTemplate::class);
    }

    public function assessTemplateRule()
    {
        return $this->belongsTo(AssessTemplateRule::class);
    }
}
